package dao;

import entity.Order;
import java.util.List;

public interface OrderDAO {
    boolean addOrder(Order order);
    boolean updateOrder(Order order);
    boolean deleteOrder(int orderId);
    Order getOrderById(int orderId);
    List<Order> getOrdersByBuyerId(int buyerId);
    List<Order> getAllOrders();
    boolean updateOrderStatus(int orderId, String status);
}